/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.totoland.web.service.impl;

import com.totoland.db.entity.StudentInfo;
import com.totoland.db.student.dao.StudentInfiDao;
import com.totoland.web.service.StudentInfiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author totoland
 */
@Service("studentInfoService")
public class StudentInfiServiceImpl implements StudentInfiService{

    @Autowired
    private StudentInfiDao studentInfiDao;
    
    @Override
    public StudentInfo getStudentInfo(String searching) {
        return studentInfiDao.getStudentInfo(searching);
    }

    /**
     * @return the studentInfiDao
     */
    public StudentInfiDao getStudentInfiDao() {
        return studentInfiDao;
    }

    /**
     * @param studentInfiDao the studentInfiDao to set
     */
    public void setStudentInfiDao(StudentInfiDao studentInfiDao) {
        this.studentInfiDao = studentInfiDao;
    }
    
}
